package com.b511.swpu.cementbackend.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.Range;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
// 冲洗液实验性能 对应表 CM_PREFLUSH_EXPERIMENT_PEFORMANCE
public class CM_PreflushExperimentPerformance extends BABaseEntity {
    @Id
    @GenericGenerator(name="preflushPerformanceGenerator", strategy="uuid")
    @GeneratedValue(generator="preflushPerformanceGenerator")
    private String CM_PreflushExperimentPerformance_ID;

    @Basic
    @Column(name = "CASINGSIZE")
    private Double casingSize;

    @Basic
    @Column(name = "DENSITY")
    private Double density;

    @Basic
    @Column(name = "COLDTEMP")
    private Double coldTemp;

    @Basic
    @Column(name = "COLDFV")
    private Double coldFV;

    @Basic
    @Column(name = "COLDRPM600")
    private Double coldRpm600;

    @Basic
    @Column(name = "COLDRPM300")
    private Double coldRpm300;

    @Basic
    @Column(name = "COLDRPM200")
    private Double coldRpm200;

    @Basic
    @Column(name = "COLDRPM100")
    private Double coldRpm100;

    @Basic
    @Column(name = "COLDRPM60")
    private Double coldRpm60;

    @Basic
    @Column(name = "COLDRPM30")
    private Double coldRpm30;

    @Basic
    @Column(name = "COLDRPM6")
    private Double coldRpm6;

    @Basic
    @Column(name = "COLDRPM3")
    private Double coldRpm3;

    @Basic
    @Column(name = "HOTTEMP")
    private Double hotTemp;

    @Basic
    @Column(name = "HOTFV")
    private Double hotFV;

    @Basic
    @Column(name = "HOTRPM600")
    private Double hotRpm600;

    @Basic
    @Column(name = "HOTRPM300")
    private Double hotRpm300;

    @Basic
    @Column(name = "HOTRPM200")
    private Double hotRpm200;

    @Basic
    @Column(name = "HOTRPM100")
    private Double hotRpm100;

    @Basic
    @Column(name = "HOTRPM60")
    private Double hotRpm60;

    @Basic
    @Column(name = "HOTRPM30")
    private Double hotRpm30;

    @Basic
    @Column(name = "HOTRPM6")
    private Double hotRpm6;

    @Basic
    @Column(name = "HOTRPM3")
    private Double hotRpm3;

    @Basic
    @Column(name = "NOTE", length = 50)
    private String note;

    @Basic
    @Column(name = "BA_WELL_ID")
    @JsonIgnore
    private Long ba_well_id;

    @ManyToOne
    @JoinColumn(name="cm_basic_id")
    private CM_Basic basic;

}
